#include "stdafx.h"
#include "Event.h"

typedef struct {
	u_char priority;
	string text;		
} AlarmEvent;

int serializeAlarmEvent(AlarmEvent event, char* buffer);
int deserializeAlarmEvent(char* buffer, AlarmEvent *event);
int getAlarmBufferSize(AlarmEvent event);